﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyClassUI.entity {
    public class StudyGroup {
        public int StudyGroupID { get; set; }
        public string StudyGroupName { get; set; }
        public string Category { get; set; }
        public string Members { get; set; }//用来存放已经加入此小组的成员（将链表序列化成字符串存储）
        public User User { get; set; }
        public string Description { get; set; }//小组的描述
        public string ExportCreateJson() {
            string json = "{\"StudyGroupName\":\"" + StudyGroupName + "\"," + "\"Category\":\"" + Category + "\"}";
            return json;
        }
    }
}
